import { Element } from '../../../fieldType'
import commonField from '../../../propertyPanel/commonConfig'
export interface GroupElement extends Element {
  width: number
}
function formListFactory () {
  return [
    commonField.name,
    commonField.attrCode
  ]
}
const formList = formListFactory()
const formTemplate: GroupElement = {
  attrCode: '',
  businessId: '',
  name: '分组',
  width: 1,
  fieldType: 'group'
}
export default {
  formList,
  formTemplate
}
